<include file="Public:headersmall"/>
<style>
.center{width:1000px;margin:0 auto;margin-top:10px}
.left{width:160px;border:1px solid #dddddd;float:left;}
.main{width:830px;float:right;}
.title2{display:block;background:#317ee7;color:#fff;text-align:left;font-size:16px;height:25px;line-height:25px}
.left dl{display:block;background:#fff;font-size:13px;height:25px;line-height:25px}
.help{margin-top:5px}

.history{width:820px;float:right}
.member_money{height:80px;padding:10px;width:820px;float:right}
.recharge-btn{border:0px;color:#fff;padding:3px;font-weight:bold;background:#ff5500}
.ht01{border-left-width:1px;border-right-width:1px;border-top-style:solid;border-top-width:1px;border-bottom-style:solid; border-bottom-width:1px;height:40px;font-size:14px;font-weight:bold;background:#e8eff7;border-color:#dddddd}
.ht02{border-left-width:1px; border-right-width:1px;border-top-width:1px;border-bottom-style:solid; border-bottom-width:1px;height:30px;border-color:#dddddd}
#list:hover{background:#e8eff7}

.index_page{width:840px;margin:0 auto;float:right;margin-top:10px;color:#0066CC;cursor:pointer;}
.page{height:20px;width:20px;border:1px solid #FF5500; text-align:center;vertical-align:middle;display:inline-block;color:#0066CC;cursor:pointer;}
.page:hover{color:#0066CC}
.page_current{height:20px;width:20px;border:1px solid #FF5500; text-align:center;vertical-align:middle;color:#FF0000;font-weight:bold;background:#FFEEE5;display:inline-block;}
</style>
<div class="center">您的位置：<a href="__APP__">首页</a>-><a href="__GROUP__/Member">会员中心</a>-><font color="#317ee7">礼品卡历史记录</font></div>
<div class="center">
   <div class="left">
      <include file="left"/>
   </div>

   <div class="main">
	   <div class="history">
	     <table border="0" width="100%" id="table1">
			<tr>
				<td class="ht01" width="100px" align="center">类型</td>
				<td class="ht01" width="100px" align="center">金额</td>
				<td class="ht01" align="center">卡密</td>
				<td class="ht01" align="center">	订单号</td>
				<td class="ht01" width="150px" align="center">	时间</td>
			</tr>
<volist name="wallet" id="wallet">
			<tr id="list">
				<td class="ht02" align="center" width="100px"><if condition="$wallet.action eq 1"><font color="green">+充值</font><else/><font color="red">-消费</font></if></td>
				<td class="ht02" width="100px" align="center">{$wallet.money}</td>
				<td class="ht02" align="center">{$wallet.code}</td>
				<td class="ht02" align="center"><if condition="$wallet.action neq 1"><a href="__URL__/order_item/?order_id={$wallet.order_id}">{$wallet.order_id}</a></if></td>
				<td class="ht02" width="150px" align="center">{$wallet.op_time|date="Y/m/d H:i",###}</td>
			</tr>
</volist>
		</table>
	   </div>
	   <div class="index_page"><div style="width:600px;margin:0 auto;float:right">{$page}</div></div>
   </div>


</div>

<script src="__APP__/statics/webox/webox.js"></script>
<link href="__APP__/statics/webox/jquery-webox.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
function recharge(){
		$.webox({
			height:200,
			width:650,
			bgvisibel:true,
			title:'礼品卡充值',
			iframe:'__URL__/recharge'
		});
}
</script>

<div style="clear:both"></div>
<br>
<include file="Public:footersmall"/>